﻿<%@ Page Title="登 入" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" CodeBehind="Login.aspx.cs" Inherits="KPI.Login" %>

<%@ Register Src="Controls/Messages.ascx" TagName="Messages" TagPrefix="uc3" %>
<asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent">
</asp:Content>
<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">
	<div class="pagetitle">
		<span>登 入</span>
	</div>
	<uc3:Messages ID="Messages1" runat="server" />
	<fieldset>
		<legend>账户信息</legend>
		<div id="loginform">
			<table cellpadding="5" cellspacing="5">
				<tr>
					<td>
						<label>用户名:</label>
					</td>
					<td>
						<asp:TextBox ID="txtUserName" runat="server" Width="160" ViewStateMode="Disabled" ValidationGroup="validationuserlogin"></asp:TextBox>
						<asp:RequiredFieldValidator ID="rfvUserName" CssClass="failurenotification" runat="server" ControlToValidate="txtUserName"
							ErrorMessage="用户名不能为空." ValidationGroup="validationuserlogin" ToolTip="用户名不能为空.">*</asp:RequiredFieldValidator>
					</td>
				</tr>
				<tr>
					<td>
						<label>密码:</label>
					</td>
					<td>
						<asp:TextBox ID="txtPwd" runat="server" TextMode="Password" Width="160" ViewStateMode="Disabled" ValidationGroup="validationuserlogin"></asp:TextBox>
						<asp:RequiredFieldValidator ID="rfvPwd" CssClass="failurenotification" runat="server" ControlToValidate="txtPwd" ErrorMessage="密码不能为空."
							ToolTip="密码不能为空." ValidationGroup="validationuserlogin">*</asp:RequiredFieldValidator>
					</td>
				</tr>
				<tr>
					<td>
					</td>
					<td>
						<asp:CheckBox ID="chbAutoLogin" runat="server" Text="下次自动登入" />
					</td>
				</tr>
			</table>
		</div>
	</fieldset>
	<div class="buttonscontainer">
		<asp:Button ID="btnLogin" Text="登 入" CssClass="button" runat="server" ValidationGroup="validationuserlogin" OnClick="btnLogin_Click" />
	</div>
</asp:Content>
